package com.etlmaster.rowprocessor.core;

import java.util.Date;

/**
 * @author Larry
 * @copyright Larry@etlMaster
 * @since 2017-09-10
 */
public class SpeedMeta {
	private long counter;
	private long time;
	public SpeedMeta(long counter){
		new SpeedMeta(counter,new Date().getTime());
		
	}
	public SpeedMeta(long counter,long lastTime) {
		this.counter=counter;
		this.time=lastTime;
	}
	public long getCounter() {
		return counter;
	}
	public void setCounter(long counter) {
		this.counter = counter;
	}
	public long getTime() {
		return time;
	}
	public void setTime(long time) {
		this.time = time;
	}
}
